Rotor angle estimation for permanent magnet synchronous motor drive

ABSTRACT

A method of determining a rotor angle in a drive control for a motor, comprising the steps of (a) determining a rotor magnetic flux in the motor; (b) estimating the rotor angle on the basis of the rotor magnetic flux; and (c) correcting the estimated rotor angle on the basis of reactive power input to the motor. Step (a) may include the step of non-ideal integration of stator voltage and current values. Step (b) may include the step of correcting phase errors caused by said non-ideal integration via a PLL circuit with phase compensation (F). Step (c) may include the steps of (1) calculating a first reactive power input value as 1.5*We*(C_Lq *I*I) and a second reactive power input value as 1.5*(Vq*id−Vd*iq); (2) determining a difference between said first and second reactive power input values; and (3) applying said difference to the rotor angle estimated in step (b) to obtain a corrected rotor angle.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a Continuation of application Ser. No. 10/294,201 filed Nov. 12, 2002 entitled ROTOR ANGLE ESTIMATION FOR PERMANENT MAGNET SYNCHRONOUS MOTOR DRIVE, which application is based on and claims priority of U.S. Provisional Patent Application Ser. No. 60/337,506 filed Nov. 12, 2001, the disclosures of which are incorporated by reference.

FIELD OF THE INVENTION

This invention relates to controls for motor drives and more specifically relates to a technique for the estimation of rotor angle in a permanent magnet synchronous motor drive.

BACKGROUND OF THE INVENTION

Rotor position information is in general required for the stable operation of permanent magnet AC motors having sinusoidal current excitation. Continuous rotor position has been obtained in the past from encoders mounted on the motor shaft or indirectly through estimation algorithms based on voltage and current feedback. The latter is preferred because it results in lower system and operating cost.

However, most passive rotor estimation schemes (based on measured voltage and current) are complex and require precise knowledge of the motor parameters such as resistance and inductance. However, these parameters, particularly the stator resistance, change widely with temperature. This leads to inaccuracy in rotor angle estimation and results in control stability problems, reduced torque per ampere capability and degradation of motor operating efficiency.

It would therefore be desirable to produce a rotor angle estimation scheme which provides maximum torque per ampere performance without requiring accurate knowledge of the stator resistance or other motor parameters.

BRIEF SUMMARY OF THE INVENTION

The invention provides a novel method of estimating rotor angle information for the control of a permanent magnet AC motor having sinusoidal back EMF.

The rotor angle is estimated via a phase-lock loop (with phase error compensation) which receives an estimate of the rotor magnetic flux. The rotor magnetic flux is obtained from the stator voltage (actual voltage or command voltage), current, resistance and inductance.

Then, the rotor angle estimation error (stator resistance change due to temperature) is removed by using a novel angle error corrector. This corrector is based on reactive power compensation and is insensitive to resistance change. Furthermore, only one inductance parameter is required for the angle corrector's reference model.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing a PMSM control system which includes an embodiment of the invention.

FIG. 2 is a more detailed block diagram showing the rotor angle estimator of FIG. 1.

FIG. 3 is a circuit diagram of a rotor magnetic flux estimator associated with the diagram of FIG. 2.

FIG. 4 is a more detailed diagram showing the rotor angle corrector of FIG. 1.

FIG. 5 is a graph showing a relationship between reactive power error vs. rotor angle error, per unitized to the motor rated power.

DETAILED DESCRIPTION OF THE DRAWINGS

The present invention as described in FIGS. 1 to 5 is related to a motor control algorithm that is implemented in firmware. However, the scope of the invention includes implementations in any combination of hardware, firmware and software that would have been within the ordinary level of skill in the art.

A block diagram of the control method is shown in FIG. 1. The d-axis is the orientation which aligns with the magnetic axis of the rotor (the convention used in the literature).

The following are the definitions of the quantities listed in FIG. 1. id* flux current command iq* torque current command id flux current feedback iq torque current feedback ia, ib phase currents Rtr_Ang estimated rotor angle C_Rs stator per phase resistance Del_Ang compensation angle from angle corrector Vab, Vbc line voltage feedbacks Vd flux-axis voltage feedback Vq torque-axis voltage feedback We inverter fundamental frequency

The rotor angle estimation block of FIG. 1 is shown in detail in FIG. 2. The inputs Flx_A and Flx_B are rotor magnetic fluxes which are obtained by non-ideal integration of motor back emf which is formed by the stator current, voltage, resistance and inductance as shown in FIG. 3. In the Figures, Tf represents the time constant of the non-ideal integrator.

It will be noted that the inputs (V_A, V_B, I_A and I_B) to the flux estimator of FIG. 3 are simply the 3-phase (ia, ib, Vab, Vbc) to 2-phase transformed signals.

The rotor angle estimator (FIG. 2) utilizes a novel flux phase lock loop system. A frequency feedforward circuit F compensates for phase errors due to the non-ideal integration of stator voltages which was used in FIG. 3 to obtain the flux. The phase error generated by the non-ideal integration is fully compensated for in the circuit F.

Then, the estimation error due to resistance is compensated by a rotor angle corrector system which is described below in connection with FIG. 4.

The rotor angle corrector circuit of FIG. 1 is shown in detail in FIG. 4. When the estimated rotor angle (FIG. 1) matches up with the actual rotor angle, a reference value for the reactive power (Q) input to the motor is equal to: 1.5*We*(C _(—) Lq*I*I+Flx _(—) M*id+(C _(—) Ld−C _(—) Lq)*id*id)

Note, however, that for a permanent magnet surface mount (PMSM) motor. the airgap reluctance is identical in the d-axis and the q-axis. Thus, id=0 and Ld=Lq. Therefore, the above equation for reference reactive power can be reduced to: 1.5*We*(C _(—) Lq*I*I)

The actual motor reactive power (Q), expressed in terms of voltage and current only, is then computed by: Q=1.5*(Vq*id−Vd*iq). In the foregoing equations:

-   -   C_Ld—d-axis inductance,     -   C_Lq—q-axis inductance,     -   I—Stator current magnitude,     -   Flx_M—Equivalent flux linkage of rotor magnet,     -   Q—Terminal reactive power, and     -   We (omega e)—stator fundamental frequency.

Since C_Ld=C_Lq, the rotor angle correction can be achieved with only one inductance parameter (Lq or Ld). Lq is used in this case. Of course, the invention is adapted for use with other motor types as well, such as interior permanent magnet motors in which Ld is not equal to Lq, as will be appreciated by those having the ordinary level of skill in the art.

If the estimated rotor angle matches up with the actual rotor angle then the following relationship will be satisfied: (Vq*id−Vd*iq)−We*C _(—) Lq*I*I=0

Thus, the reactive power error between Q and (We*C_Lq*I*I) (the vertical axis in FIG. 5) can be used to null out any rotor angle error (the horizontal axis in FIG. 5), such that the maximum torque per ampere can be maintained, even when there is an error in the resistance parameter used in the magnetic flux estimator (FIG. 3).

Although the present invention has been described in relation to particular embodiments thereof, many other variations and modifications and other uses will become apparent to those skilled in the art. Therefore, the present invention is not limited by the specific disclosure herein. 

1. A method of determining a rotor angle in a drive control for a motor, comprising the steps of: a) determining a rotor magnetic flux in the motor; b) estimating the rotor angle on the basis of the rotor magnetic flux; and c) correcting the estimated rotor angle on the basis of reactive power input to the motor.
 2. The method of claim 1, wherein step (a) includes the step of non-ideal integration of stator voltage and current values.
 3. The method of claim 2, wherein step (b) includes the step of correcting phase errors caused by said non-ideal integration via a PLL circuit with phase compensation (F).
 4. A method of determining a rotor angle in a drive control for a motor, comprising the steps of: estimating a rotor angle; and correcting the estimated rotor angle on the basis of reactive power input to the motor.
 5. A system for determining a rotor angle in a drive control for a motor, comprising: a) a first circuit for determining a rotor magnetic flux in the motor; b) a second circuit for estimating the rotor angle on the basis of the rotor magnetic flux; and c) a third circuit for correcting the estimated rotor angle on the basis of reactive power input to the motor.
 6. The system of claim 5, wherein said first circuit carries out non-ideal integration of stator voltage and current values.
 7. The system of claim 6, wherein said second circuit corrects phase errors caused by said non-ideal integration via a PLL circuit with phase compensation (F).
 8. A system for determining a rotor angle in a drive control for a motor, comprising: a circuit for estimating a rotor angle; and a circuit for correcting the estimated rotor angle on the basis of reactive power input to the motor.
 9. The system of claim 8, wherein said system is connected to a terminal of said motor for measuring said rotor magnetic flux.
 10. The system of claim 9, wherein said motor is a permanent magnet surface-mount motor.
 11. The system of claim 5, wherein said system is connected to a terminal of the motor for measuring said reactive power input.
 12. The system of claim 11, wherein said motor is a permanent magnet surface-mount motor.
 13. The system of claim 8, wherein said system is connected to a terminal of the motor for measuring said stator voltage current values.
 14. The system of claim 13, wherein said motor is a permanent magnet surface-mount motor.
 15. The system of claim 8, wherein said system is connected to a terminal of the motor for measuring said reactive power input. 